package org.strongme.modules.project.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import org.strongme.common.service.CrudService;
import org.strongme.modules.project.dao.SubProjectDao;
import org.strongme.modules.project.entity.SubProject;

@Service
@Transactional(readOnly=true)
public class SubProjectService extends CrudService<SubProjectDao, SubProject>{
	
	/**
	 * 通过工程ID获取单位工程
	 * @param projectId
	 * @return
	 */
	public List<SubProject> findListByProId(String projectId) {
		return dao.findListByProId(projectId);
	}

}
